﻿using log4net;
using log4net.Config;
using log4net.Repository.Hierarchy;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 天离终端防火墙_专业版
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            // 居中显示
            StartPosition = FormStartPosition.CenterScreen;
            // 关闭组件检查
            Control.CheckForIllegalCrossThreadCalls = false;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Tl_Warning.Invade_Warnig_Info open = new Tl_Warning.Invade_Warnig_Info();
            open.StartPosition = FormStartPosition.CenterScreen;
            open.ShowDialog();
            TL_Hanllder.TL_Log4net_Hanllder.WriteError("创建了预警");
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            
        }
    }
}
